home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 11 - 1995 / 11.04 Apr 95 / TreeAppƒ / TreeWindowƒ / CPPTreeWindow.h < prev   
Encoding:
C/C++ Source or Header  |  1996-04-04  |  743 b   |  35 lines  |  [TEXT/KAHL]

  1. /***************************************************** IMPLEMENTATION
  2.     DATE:    10/19/93
  3.  
  4.     CLASS:  CPPTreeWindow
  5.     
  6.     SUPERCLASS: CPPWindow
  7.     
  8.         This C++ class manages a window which has a scrolling tree
  9.         in it
  10.     
  11. ********************************************************************/
  12.  
  13. #pragma once
  14.  
  15. #include <CPPWindow.h>
  16. class CPPTreeArea;
  17.  
  18. class CPPTreeWindow : public CPPWindow {
  19. public:
  20.             CPPTreeWindow (CPPWindowManager *theManager, int ResID);
  21.             ~CPPTreeWindow (void);
  22.             
  23.     virtual    char    *ClassName (void);
  24.     virtual    Boolean    Member (char *className);
  25.  
  26.     virtual    Boolean    DoCommand (short commandID);
  27.  
  28.     CPPTreeArea    *theTreeArea;
  29.  
  30.  
  31. protected:
  32.  
  33.     virtual    void    DoUserChangeSize (short newWidth, short newHeight);
  34.     virtual void    DoUserUpdate (void);
  35. };